<?php
/**
 * @author qingyu8@staff.weibo.com
 * @date 2018/03/11
 */
namespace common\models;
class OrderStatusFlow extends Base {
    public static function tableName() {
        return 'dive_order_status_flow';
    }

    const TYPE_ORDER = 1;
    const TYPE_SUPPLY = 2;
    const TYPE_PAYMENT = 3;
    const TYPE_ACCOUNT = 4;
    const STATUS_TEXT = [
        self::TYPE_ORDER => '订单状态',
        self::TYPE_SUPPLY => '供应商状态',
        self::TYPE_PAYMENT => '支付状态',
        self::TYPE_ACCOUNT => '结算状态',
    ];
}
